/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.breeze.service;

import com.breeze.entity.Tbill;
import com.breeze.entity.Tcategory;
import com.breeze.entity.Tuser;
import com.breeze.entity.Tuserbill;
import java.util.List;

/**
 *
 * @author huateng
 */
public interface ICoreService {
    //tuser
    public Tuser insertUser(Tuser user);
    public long queryUserCount(Tuser user);
    public List queryUserList(Tuser user);
    public int deleteUser(Tuser user);
    
    //tcategory
    public Tcategory insertCategory(Tcategory category);
    public long queryCategoryCount(Tcategory category);
    public List queryCategoryList(Tcategory category);
    public int deleteCategory(Tcategory category);
    
    //tbill
    public Object insertBill(Tbill bill);
    public long queryBillCount(Tbill bill);
    public List queryBillList(Tbill bill);
    public int deleteBill(Tbill bill);
    public int updateBill(Tbill bill);
    
    //userbill
    public Tuserbill insertUserbill(Tuserbill userbill);
    public long queryUserbillCount(Tuserbill userbill);
    public List queryUserbillList(Tuserbill userbill);
    public int deleteUserbill(Tuserbill userbill);
}
